<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subject_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  data-field="subject" id="c-subject_id" data-rule="required" data-source="ykw/subject/selectpage" class="form-control selectpage" data-pagination="true"  data-page-size="10"  name="row[subject_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Specialtys_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  data-pagination="true"  data-page-size="10"  data-field="specialty" id="c-specialtys_id" data-rule="required" data-source="ykw/specialtys/selectpage" class="form-control selectpage" name="row[specialtys_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Specialty_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  data-pagination="true"  data-page-size="10"  data-field="specialty" id="c-specialty_id" data-rule="required" data-source="ykw/specialty/selectpage" class="form-control selectpage" name="row[specialty_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tuition')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tuition" data-rule="required" class="form-control" name="row[tuition]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Planned_quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-planned_quantity" data-rule="required" class="form-control" name="row[planned_quantity]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('University_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-university_id" data-search-field="university" data-rule="required" data-source="ykw/university/selectpage" class="form-control selectpage" data-field="university"  data-pagination="true"  data-page-size="10"  name="row[university_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Grade')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-grade" data-rule="required" class="form-control" step="0.01" name="row[grade]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lowest_rank')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lowest_rank" data-rule="required" class="form-control" name="row[lowest_rank]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>